package com.sniper.springmvc.mybatis.service.impl;

import com.sniper.springmvc.datasource.DataSource;
import com.sniper.springmvc.datasource.DataSourceValue;
import com.sniper.springmvc.model.Log;
import com.sniper.springmvc.mybatis.service.BaseService;

import java.util.List;

public interface LogService extends BaseService<Log> {

    @DataSource(DataSourceValue.MASTER)
    void createLogTable(String tableName);

    public List<Log> findNearesLogs(int n);

}
